package com.qf.demo.service.Impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.qf.demo.dao.ProductDao;
import com.qf.demo.entity.Product;
import com.qf.demo.entity.bcata;
import com.qf.demo.service.goodsService;
import com.qf.demo.vo.goodDetail;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class goodsServiceImpl extends ServiceImpl<ProductDao, Product> implements goodsService {

    @Autowired
    private ProductDao pp;
    @Override
    public List<Product> getList(bcata bb){
        return pp.getList(bb);
    }

    @Override
    public goodDetail getDetail(Integer id) {
        return pp.getDetail(id);
    }
}
